package com.wanhe.base.model.holder;

import java.util.HashMap;

/**
 * File Name:DataStoreMapHolder.java<br/>
 * Package Name:com.wanhe.base.model.holder<br/>
 * Date:2017/7/13 16:37<br/>
 * author:chendeji<br/>
 * desc: 用于应用内存中映射查找文件的内存缓存<br/>
 * Copyright (c) 2017/7/13, 781571323@qq.com All Rights Reserved.
 *
 */
public class DataStoreMapHolder extends HashMap<String, Object>{
    private static DataStoreMapHolder ourInstance;

    public static DataStoreMapHolder getInstance() {
        if (ourInstance == null){
            synchronized (DataStoreMapHolder.class){
                if (ourInstance == null){
                    ourInstance = new DataStoreMapHolder();
                }
            }
        }
        return ourInstance;
    }

    private DataStoreMapHolder() {
    }
}
